package com.spic.business.informatization.before_after_work.service;

import com.spic.business.informatization.before_after_work.domain.MeetingBeforeAfter;
import com.spic.common.core.web.domain.AjaxResult;

import java.util.List;

/**
 * 班前班后会主Service接口
 *
 * @author yangjie
 * @date 2021-12-20
 */
public interface IMeetingBeforeAfterService
{
    /**
     * 查询班前班后会主
     *
     * @param id 班前班后会主主键
     * @return 班前班后会主
     */
    MeetingBeforeAfter selectMeetingBeforeAfterById(String id);

    /**
     * 查询班前班后会主列表
     *
     * @param meetingBeforeAfter 班前班后会主
     * @return 班前班后会主集合
     */
    List<MeetingBeforeAfter> selectMeetingBeforeAfterList(MeetingBeforeAfter meetingBeforeAfter);

    /**
     * 新增班前班后会主
     *
     * @param meetingBeforeAfter 班前班后会主
     * @return 结果
     */
    AjaxResult insertMeetingBeforeAfter(MeetingBeforeAfter meetingBeforeAfter);

    /**
     * 修改班前班后会主
     *
     * @param meetingBeforeAfter 班前班后会主
     * @return 结果
     */
    int updateMeetingBeforeAfter(MeetingBeforeAfter meetingBeforeAfter);

    /**
     * 批量删除班前班后会主
     *
     * @param ids 需要删除的班前班后会主主键集合
     * @return 结果
     */
    int deleteMeetingBeforeAfterByIds(String[] ids);

    /**
     * 删除班前班后会主信息
     *
     * @param id 班前班后会主主键
     * @return 结果
     */
    int deleteMeetingBeforeAfterById(String id);

    String selectMeetingBeforWorkCode();

    MeetingBeforeAfter getMeetingBeforWorkByMeetingName();

    void filterDirtyData();
}
